package com.aaa.mbs.service;

import com.aaa.common.bo.Car;
import com.aaa.common.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("carService")
public interface RemoteCarService {
    /**
     * 更新
     *
     * @param @param car 实例对象
     * @return Result
     */
    @PostMapping("/car/update")
    Result update(@RequestBody Car car);
}

